<template>
  <div>
    <h2>呀呀呀</h2>
    <h2>{{$route.params.usersId}}</h2>
    <h2>{{message}}</h2>
    {{"这是用户界面"}}
  </div>
</template>


<script>
export default {
  name: "Users",
  data() {
    return {
      message: "aaaaaa",
    };
  },
  computed: {
    usersId() {
      // param:参数的意思，从route（正在执行的路由）中拿到参数
      return this.$route.params.usersId;
    },
  },
};
</script>